package ncu.me.musicplayer;

/**
 * @Author ye
 * @Date 2020/6/4 14:31
 * @Version 1.0
 */
public class NetWorkState {
    /**
     * 没有网络
     */
    public static final int NET_NULL = 0;
    /**
     * wifi
     */
    public static final int NET_WIFI = 1;
    /**
     * 移动网络
     */
    public static final int NET_MOBILE = 2;

    private static int type = NET_NULL;

    public static int getType() {
        return type;
    }

    public static void setType(int type) {
        NetWorkState.type = type;
    }
}
